<template>
    <HomePanel ref="target" title="人气推荐" subTitle="人气爆款 不容错过">
        <!-- 面板内容 -->
        <HomeList :list="hots" :type="1"/>
    </HomePanel>
</template>

<script setup>
import HomePanel from './home-panel.vue'
import HomeList from './home-list.vue';
import { getHots } from '@/api/home'
import { useLazyData } from '@/hooks'

const {target, result: hots} = useLazyData(getHots)
</script>
<style lang='scss' scoped>
</style>